package com.h817;

public class Car
{
    public String name;
    protected String type;
    double price;
    private int num;
    public void print(){
        System.out.println(this.name);
        System.out.println(this.num);
        System.out.println(this.price);
        System.out.println(this.type);
    }
}
